package com.way;

/**
 * @author 魏彪
 */
public class Test01 {
    public static void main(String[] args) {
        AbstractClass ac = new ClassA();
        ac.templateMethod();

        AbstractClass ab = new ClassB();
        ab.templateMethod();
    }
}
